<?php
// export js
$arrLocale['username_required']				= 'Username is a required field.';
$arrLocale['username_range']				= 'Please enter a value between '.VL_USERNAME_MINLENGTH.' and '.VL_USERNAME_MAXLENGTH.' characters long.';
$arrLocale['username_format']				= 'Only letters, numbers and underscores "_" are allowed in the username.';
$arrLocale['username_validate']				= 'Username already exists, please choose another.';
$arrLocale['password_required']				= 'Password is a required field.';
$arrLocale['password_minlength']			= 'Please enter at least '.VL_PASSWORD_MINLENGTH.' characters.';
$arrLocale['password_notmatch']				= 'Password and confirm password must match.';
$arrLocale['password_confirm_required']		= 'Confirm password is a required field.';
$arrLocale['password_old_required']			= 'Old Password must be specified.';
$arrLocale['password_old_invalid']			= 'The old password that you provided is not correct. Please check your old password and try again.';
// end export js

//----- error server
$arrError['noperm_save']                    = 'You haven\'t permission add new';
$arrError['noperm_changepw']				= 'You haven\'t permission change password.';
//----- end error server	

/*----- message -----*/
$arrMessage['save_add']                     = 'Create account is sucessfully.';           
$arrMessage['save_update']                  = 'Update account information is sucessfully.';           
$arrMessage['save_change_pw']				= 'The password has been changed successfully.';
/*----- end message -----*/			

/*---- option ---- */
$arrType	                                = array(
                                                ROLE_FREELANCER     => 'Freelancer', 
                                                ROLE_MEMBER         => 'Staff', 
                                                ROLE_LEADER         => 'Leader',
                                                ROLE_ADMINISTRATOR  => 'Administrator',
                                                ROLE_ROOT           => 'Root');
$arrStatus                                  = array(0=>'Inactive', 1=>'Active'); 
$arrChkPerm                                 = array(ROLE_LEADER, ROLE_ADMINISTRATOR, ROLE_ROOT);
/*---- end option ---- */

/**---- smarty language ----*/
$arrSmarty['label']['username']                 = 'Username';
$arrSmarty['label']['password']                 = 'Password';
$arrSmarty['label']['password_confirmation']    = 'Confirm Password';
$arrSmarty['label']['fullname']                 = 'Fullname';
$arrSmarty['label']['role']                     = 'Role';
$arrSmarty['label']['room']                     = 'Room';

